<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="main">
  <div>
  <p>查看员工信息</p>
  <form action="hremAction!searchByName" method="post">
  name<input type="text" name="sname" />
  <input type="submit" value="查找" />
  </form>
    <form action="hremAction!searchById" method="post">
  ID<input type="text" name="id" />
  <input type="submit" value="查找" />
  </form>
    <form action="hremAction!searchByPhone" method="post">
  phonenum<input type="text" name="sphone" />
  <input type="submit" value="查找" />
  </form>
<a href="employeesearch.jsp">高级查找</a>
<s:property value="sname" />
<s:property value="sphone" />
  </div>
  <div>
  <table>
  <tr>
  <td><input type="checkbox" id="checkall"></input></td>
  <td>ID</td>
  <td>姓名</td>
  <td>性别</td>
  <td>员工帐号</td>
  <td>年龄</td>
  <td>电话</td>
  <td>是否删除</td>
  <td>查看更多</td>
  </tr>
  <s:iterator value="employees">

<tr>
<td><input type="checkbox" name="<s:property value="id" />" id="<s:property value="id" />"></input></td>
<td><s:property value="id" /></td>
<td><s:property value="name" /></td>
<td><s:property value="sex" /></td>
<td><s:property value="employeeacc" /></td>
<td><s:property value="age" /></td>
<td><s:property value="telphone" /></td>
<td><a href="hremAction!delete?id=<s:property value="id" />">delete</a></td>
<td><a href="hremAction!showem?id=<s:property value="id" />">more</a></td>

</tr>



</s:iterator>
  
  
  </table>
  </div>

  <s:debug></s:debug>
</div>
</body>
</html>